//in charge of account, auth, billing etc.
package csmaster

import (
	"brickyard/coordinator"
)

type Server struct {
	//coordinator
	//gls
}

func NewServer() *Server {
	s := new(Server)
	return s
}

func (s *Server) Start(cfg string) error {
	cfg := LoadConfigFile(conf)
	port := cfg.GetString("http.port")

	err := startHttpService(port)
	if err == nil {
		css = s
	}

	return err
}

func (s *Server) Shutdown() {}
